<%@ page language="java" pageEncoding="utf-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ include file="/WEB-INF/taglib.jsp" %>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>系统用户信息</title>
    <%@ include file="/WEB-INF/jsp/loading.jsp" %>
    <%@ include file="/WEB-INF/jsp/include.jsp" %>
    <style type="text/css">
        .icon-xls {
            background: url("<%=path%>/resource/images/system/excel.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        }
        .query_input_org{
            height: 20px;
            padding-left: 24px;
            border: none;
            background:url('<%=path%>/resource/images/system/search-icon.png') no-repeat;
            background-size:20px 20px;
        }
        .query_input_org:focus{
            background-color: #FFFFFF;
            outline: none;
        }
    </style>
    <script type="text/javascript">
        var path = "<%=path%>";

    </script>
</head>
<body style="margin:0px; padding:0px;">

<div style="position: absolute; margin: 83px 0px 0px 96px; z-index: 9999; height: 40px;width:200px;" >
    <input class="query_input_org" type="text" id="orgName" name="orgName" style="width: 204px;" placeholder="搜索机构，输入代码或名称后回车" onkeypress="if(event.keyCode==13) {btnQueryOrg();return false;}"/>
</div>
<div class="easyui-layout" fit="true">
    <div region="center" style="padding: 5px;" border="false">
        <div class="easyui-layout" fit="true" border="false">
            <div id="divNorth" region="north" title="查询条件" border="true" noheader="false"
                 style="padding: 5px; height: 71px; background: none repeat scroll 0 0 #EFEFEF;">
                <table>
                    <tr>
                        <td>姓名：</td>
                        <td><input class="query_input" type="text" id="userNameQuery" name="userNameQuery"
                                   style="width: 160px"/></td>
                        <td>登录账号：</td>
                        <td><input class="query_input" type="text" id="userCodeQuery" name="userCodeQuery"
                                   style="width: 160px"/></td>
                        <td>状态：</td>
                        <td>
                            <select id="validMarkQuery" class="easyui-combobox" name = "validMarkQuery" data-options="panelWidth:160"
                                    style="width: 160px;" editable="false">
                                <option value="">--请选择--</option>
                                <option value="1">启用</option>
                                <option value="0">禁用</option>
                            </select>
                        </td>
                        <td>角色：</td>
                        <td>
                            <select id="initRole" class="easyui-combobox" name = "initRole" data-options="panelWidth:160"
                                    style="width: 160px;">
                            </select>
                        </td>
                        <td><input class="search-btn-blue" style="margin-left:10px" type="button" onclick="btnQuery();"
                                   value="查询"></td>
                        <td><input class="search-btn-blue" style="margin-left:10px" type="button" onclick="btnReset();" value="重置">
                        </td>
                    </tr>
                </table>
            </div>
            <div region="center" title="" border="false" noheader="true" style="padding: 5px 0 0 0;">
                <div class="easyui-layout" fit="true"  border="false">
                    <div region="west" title="" border="true" noheader="true" split="true" style="width: 370px;">
                        <div class="easyui-layout" fit="true"  border="false">
                            <div region="center" title="组织机构树" border="false">
                                <div>
                                    <ul id="tree" class="ztree" style="width: 90%; height: 90%;"></ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div region="center" title="人员列表信息" border="true">
                        <table id="tt" title="" border="false"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<iframe id="ifile" style="display:none"></iframe>
<div id="tb" style="padding: 1px; height: auto; display: none;">
    <div>
        <a id="btn_addNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-add" plain="false"
           onclick="btnAddNode()">新增</a>
        <a id="btn_editNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-edit" plain="false"
           onclick="btnEditNodeByGrid()">修改</a>
        <a id="btn_delNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-remove" plain="false"
           onclick="btnDelNodeByGrid()">删除</a>
        <a id="btn_backPwd_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-back" plain="false"
           onclick="btnBackPwdByGrid()">重置密码</a>
        <a id="btn_qyNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-remove" plain="false"
           onclick="btnYxbzNodeByGrid()">启用/禁用</a>
        <a id="btn_exportNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-xls" plain="false"
           onclick="btnExport()">导出</a>
        <a id="btn_importNode_tb" href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-xls" plain="false"
           onclick="btnImport('1012')">导入</a>
        &nbsp;&nbsp;&nbsp;
        <input id = "noAssignPermissions" type="checkbox" value="checkbox" style="vertical-align: text-top;" onclick="selectAssignPermissions();"/>
        <label  for="noAssignPermissions">未分配权限人员</label>
        <%--默认初始化选中下级,显示所有本机构以下的人员信息--%>
        &nbsp;&nbsp;&nbsp;
        <input id = "subIncluding" type="checkbox" value="checkbox" style="vertical-align: text-top;" checked="checked" onclick="selectsubIncluding();"/>
        <label  for="subIncluding">包含下级机构人员</label>
    </div>
</div><form id="exportForm"  name= "exportForm" method = 'post' hidden="hidden" ></form>
</body>
<script type="text/javascript" src="<%=path%>/resource/js/system/user/index.js"></script>

</html>
